home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1880 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  1.1 KB  |  32 lines

  1. on(press){
  2.    _root.txt_number = 1;
  3.    if(_root.inven._currentframe == 1)
  4.    {
  5.       if(_root.micon._currentframe == 40 && _root.range == true)
  6.       {
  7.          _root.next_dis1 = 2;
  8.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  9.       }
  10.       else if(_root.micon._currentframe == 41 && _root.range == true)
  11.       {
  12.          _root.next_dis1 = 2;
  13.          _root.next_txt1 = "I don\'t think I want to make Principal Hoggard cry.";
  14.       }
  15.       if(_root.micon._currentframe == 1 && _root.range == true)
  16.       {
  17.          _root.next_dis1 = 2;
  18.          _root.next_txt1 = "I donΓÇÖt think it would be a good idea to wake him right now.";
  19.       }
  20.       if(_root.micon._currentframe == 2)
  21.       {
  22.          _root.next_dis1 = 2;
  23.          _root.next_txt1 = "Principal Hoggard is taking a nap.  Good to know our school is run by him...";
  24.       }
  25.       if(_root.micon._currentframe == 4 && _root.range == true)
  26.       {
  27.          _root.next_dis1 = 2;
  28.          _root.next_txt1 = "I donΓÇÖt think it would be a good idea to wake him right now.";
  29.       }
  30.    }
  31. }
  32.